Skip to content

[16.0][ADD] product_state_shortage: Introduce shortage state management#2272

Closed
nicolas-delbovier-acsone wants to merge 1 commit intoOCA:16.0from
acsone:16.0-add-product_state_shortage
Closed

[16.0][ADD] product_state_shortage: Introduce shortage state management#2272
nicolas-delbovier-acsone wants to merge 1 commit intoOCA:16.0from
acsone:16.0-add-product_state_shortage

Conversation

@nicolas-delbovier-acsone
Copy link
Copy Markdown

@nicolas-delbovier-acsone nicolas-delbovier-acsone commented Apr 23, 2026

Business Need

This module addresses the need to manage product states effectively in scenarios where stock shortages occur. It ensures that products marked as in shortage automatically revert to their default state when new stock is received.

@OCA-git-bot OCA-git-bot added series:16.0 mod:product_state_shortage Module product_state_shortage labels Apr 23, 2026
Copy link
Copy Markdown
Contributor

@rousseldenis rousseldenis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nicolas-delbovier-acsone
Copy link
Copy Markdown
Author

After discussion with our Business Analyst, it seems that basing the auto revoke of the shortage status on incoming move is not sufficient to handle all the cases.

The good idea is to revoke the status based on the available qty. Now, this computation taking quite some time, we need to do it in a cron.

I'll do this in another PR and ping here when it is done.

@nicolas-delbovier-acsone
Copy link
Copy Markdown
Author

After discussion with our Business Analyst, it seems that basing the auto revoke of the shortage status on incoming move is not sufficient to handle all the cases.

The good idea is to revoke the status based on the available qty. Now, this computation taking quite some time, we need to do it in a cron.

I'll do this in another PR and ping here when it is done.

See #2276

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:product_state_shortage Module product_state_shortage series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants